package com.kolaxy.social.govern.reviewer.dao;

import com.kolaxy.social.govern.reviewer.domain.ReviewerTaskStatus;
import com.kolaxy.social.govern.reviewer.mapper.ReviewerTaskStatusMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

/**
 * <p>todo</p>
 *
 * @author zhourunjin
 * @date 2020/9/4 12:59
 */
@Repository
public class ReviewerTaksStatusDaoImpl implements ReviewerTaskStatusDao{

    @Autowired
    private ReviewerTaskStatusMapper reviewerTaskStatusMapper;

    public void add(ReviewerTaskStatus status) {
        reviewerTaskStatusMapper.insert(status);
    }

    public void update(ReviewerTaskStatus reviewerTaskStatus) {
        reviewerTaskStatusMapper.update(reviewerTaskStatus);
    }
}
